package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @program: 2019-10-12_userCenter
 * @description: 删除用户请求参数
 * @author: DaiGaoLe
 * @create: 2019-10-22 10:55
 **/
@Data
@ApiModel(value = "删除用户请求对象", description = "删除用户请求对象")
public class DeleteUserReq extends BaseReqObj {
    private static final long serialVersionUID = -2245933159848772314L;
    /**
     * 被删除用户id
     */
    @NotNull(message = "被删除用户id不能为空")
    @ApiModelProperty(value = "被删除用户id", notes = "被删除用户id", dataType = "Integer", required = true)
    private Integer userId;
    
    /**
     * 所属企业id
     */
    @ApiModelProperty(value = "所属企业/部门id(即企业客户的userId或部门的organizationalId,删除企业员工数据时传所属企业的userid,删除港内员工时传organizationalId)", notes = "所属企业/部门id(即企业客户的userId或部门的organizationalId,删除企业员工数据时传所属企业的userid,删除港内员工时传organizationalId)", dataType = "Integer")
    private Integer enterpriseId;

    @ApiModelProperty(value = "业态公司id,若上传则只删除业态id，不删除授权渠道", notes = "业态公司id,若上传则只删除业态id，不删除授权渠道")
    private Integer formatId;
}
